package com.fengke.service.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.fengke.dao.model.AdminStoryModel;
import com.fengke.dao.model.MemberModel;
import com.fengke.dao.model.PriceItemModel;
import com.fengke.dao.model.ProductImageModel;
import com.fengke.dao.model.ProductItemModel;
import com.fengke.dao.model.ProductModel;
import com.fengke.dao.model.ProductTagModel;
import com.fengke.util.file.UploadedFile;

public class ProductVO implements Serializable {
	private static final long serialVersionUID = 5966698846564776522L;
	private ProductModel productModel = new ProductModel();
	private List<ProductTagModel> productTags = new ArrayList<ProductTagModel>();
	private List<ProductItemModel> productItems = new ArrayList<ProductItemModel>();
	private List<AdminStoryModel> adminStorys = new ArrayList<AdminStoryModel>();
	private UploadedFile headImage;
	private List<UploadedFile> productImages = new ArrayList<UploadedFile>();
	private List<ProductImageModel> productImageModels = new ArrayList<ProductImageModel>();
	private List<MemberModel> members = new ArrayList<MemberModel>(); // 已购买人员列表
	private List<PriceItemModel> priceItemModels = new ArrayList<PriceItemModel>(); // 价格列表
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
	public ProductModel getProductModel() {
		return productModel;
	}
	public void setProductModel(ProductModel productModel) {
		this.productModel = productModel;
	}
	public List<ProductItemModel> getProductItems() {
		return productItems;
	}
	public void setProductItems(List<ProductItemModel> productItems) {
		this.productItems = productItems;
	}
	public List<AdminStoryModel> getAdminStorys() {
		return adminStorys;
	}
	public void setAdminStorys(List<AdminStoryModel> adminStorys) {
		this.adminStorys = adminStorys;
	}
	public UploadedFile getHeadImage() {
		return headImage;
	}
	public void setHeadImage(UploadedFile headImage) {
		this.headImage = headImage;
	}
	public List<UploadedFile> getProductImages() {
		return productImages;
	}
	public void setProductImages(List<UploadedFile> productImages) {
		this.productImages = productImages;
	}
	public List<ProductImageModel> getProductImageModels() {
		return productImageModels;
	}
	public void setProductImageModels(List<ProductImageModel> productImageModels) {
		this.productImageModels = productImageModels;
	}
	public List<MemberModel> getMembers() {
		return members;
	}
	public void setMembers(List<MemberModel> members) {
		this.members = members;
	}
	public List<PriceItemModel> getPriceItemModels() {
		return priceItemModels;
	}
	public void setPriceItemModels(List<PriceItemModel> priceItemModels) {
		this.priceItemModels = priceItemModels;
	}
	public List<ProductTagModel> getProductTags() {
		return productTags;
	}
	public void setProductTags(List<ProductTagModel> productTags) {
		this.productTags = productTags;
	}
}
